/**
 * Created by yangfan on 2016/11/23.
 */
define(["business/services/constant"], function (constant) {
    var baseUrl = constant.config.BASEURL_VIDEO;
    var api_job = constant.config.CONSTANT_JOB;

    var userUrl = constant.config.BASEURL_USER;
    var api_blog = constant.config.CONSTAN_BWLIST ;

    var regionUrl = constant.config.BASEURL_REGION;
    var api_province = constant.config.CONSTANT_REGION_PROVICE;
    var api_cvdatabase = constant.config.CONSTANT_RESUME;
	var collectAPI = constant.config.CONSTANT_COLLECTIONA;
    var testUrl = "http://localhost:3000";

    var vpnUrl = "http://"+allUrl+"";

    var testAPI = "job";
    return {
        getProvince:function(requestion){
            return constant.httpSend(regionUrl,api_province,requestion);
        },
        testServices:function(requestion){
            return constant.httpSend(baseUrl,api_job,requestion);
        },
        jobServices:function(requestion){
            return constant.httpSend(baseUrl,api_job,requestion);
        },

        getCvdatabases:function(requestion){
            return constant.httpSend(baseUrl,api_cvdatabase,requestion);
        },
        userServices:function(requestion){
            return constant.httpSend(userUrl,api_blog,requestion);
        },
		collectServices:function(requestion){
            return constant.httpSend(userUrl,collectAPI,requestion);
        },

    }
});


